package com.android.youwenchuang.ui.adapter;

import androidx.annotation.NonNull;

import com.android.youwenchuang.R;
import com.android.youwenchuang.bean.User;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;

public class MessageAdapter extends BaseQuickAdapter<User, BaseViewHolder> {
    public MessageAdapter() {
        super(R.layout.item_message);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder baseViewHolder, User item) {
        baseViewHolder.setText(R.id.tv_content, item.getName());
    }
}
